package com.budwk.app.miniapp.services;

import com.budwk.app.miniapp.models.WxEvent;
import com.budwk.app.miniapp.models.vo.EventScheduleDetailVO;
import com.budwk.starter.database.service.BaseService;
import com.budwk.app.miniapp.models.WxEventSchedule;

import java.util.List;

public interface WxeventscheduleService extends BaseService<WxEventSchedule>{
    /**
     * 通过eventId更新eventSchedule的删除状态
     * @param eventId 事件id
     */
    void updateDelFlagByEventId(String eventId);

    /**
     * 根据事件BO生成事件详情
     * @param wxEventBo 事件bo
     * @return 事件调度详情
     */
    List<EventScheduleDetailVO> createEventContentByEventType(WxEvent wxEventBo);

    List<EventScheduleDetailVO> listEventScheduleDetail(String eventId);

    void insertWxEventScheduleService(WxEvent bo);
}
